﻿@using thousandClear.Areas.Admin.Models;

@model List<OrderLogModel>

<div id="app">
    <div class="ui-flex ui-box font-center bg-white" v-on:tap="back" style="padding: 10px 0px;">
        <div class="col20">
            <span>返回</span>
        </div>
        <div class="col60 font-16">
            <span>打扫历史</span>
        </div>
        <div class="col20">
        </div>
    </div>
    <ul class="ui-flex ui-box" style="border-top:1px solid white">
        @foreach (OrderLogModel item in Model)
            {
            <li class="ui-flex ui-box" style="padding: 15px; background:#f8fdff; border-bottom: 1px solid white">
                <div class="ui-flex ui-box">
                    <div class="col20  font-18">
                        @item.oatName
                    </div>
                    <div class="col40  font-12">
                        @item.dimDesc
                    </div>
                    <div class="col40 font-12">
                        @item.CreatedDate
                    </div>
                </div>
            </li>
        }
    </ul>
    <ul class="ui-flex ui-box" style="border-top:1px solid white">
        @foreach (var i in ViewBag.aunt)
            {
            <li class="ui-flex ui-box" style="padding: 15px; background:#f8fdff; border-bottom: 1px solid white">
                <div class="ui-flex ui-box">
                    <div class="font-16 col20">
                        <img style="border-radius: 50%;" id="imgImgUrl" src="@i.ImgUrl" width="60px" height="60px" />
                    </div>
                    <div class="font-18 col60">
                        <span>@i.oatName @i.oatNo</span>
                    </div>
                    <div class="font-16 col20">
                        <span> @i.oatDesc</span>
                    </div>
                </div>
            </li>
        }
    </ul>

    <div style="height: 60px; width: 100%;"></div>
</div>


@section Styles{
    @Styles.Render("~/cssbundles/consumer/subscribe")
}

@section Scripts{
    @Scripts.Render("~/jsbundles/consumer/subscribe")
    <script>
        var model = new Vue({
            el: '#app',
            data: {
                opeid: '@ViewBag.openid'
            },
            methods: {
                back: function () {
                    window.location.href="./Order/Index?openid=@ViewBag.OpenId&&order=@ViewBag.order";
                }
            }
        });
    </script>
}


